/**
 *
 *打开摄像机
 * 将视频内容呈现在界面中
 */

const Camera=function () {
    let vidoeSetting={width:320,height:240};
    let canvasContext=null;
    let videoElement=null;

    this.listCamera=function (videoDevice) {
        videoElement=videoDevice;
        return new Promise((resolve,reject)=>{
           navigator.mediaDevices.enumerateDevices()

        })

    }



;

}
